What is last movement of a sonata?

The last movement of a sonata is typically a fast and lively piece that serves as a conclusion to the entire work. It is often in sonata-allegro form, which consists of an exposition, development, and recapitulation. The movement may also include a coda, which is a concluding section that brings the piece to a definitive close. In many cases, the final movement of a sonata will incorporate themes from previous movements, providing a sense of unity and closure to the entire piece. Some famous final movements of sonatas include Beethoven's "Moonlight" Sonata, Mozart's Sonata in C Major, and Chopin's Sonata No. 2 in B-flat Minor.